import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity('video_backup')
export class VideoBackUp {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'video_id' })
  video_id: number;

  @Column({ name: 'video_id_new' })
  video_id_new: string;

  @Column({ name: 'video_cover_old' })
  video_cover_old: string;

  @Column({ name: 'video_cover_new' })
  video_cover_new: string;

  @Column({ name: 'hls_video_id_new' })
  hls_video_id_new: string;

  @Column({ name: 'hls_video_cover_new' })
  hls_video_cover_new: string;
}
